package org.wu.mp.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.wu.mp.domain.Employee;
import org.wu.mp.query.EmployeeQuery;

/**
 * mybatis-plus自定义服务接口
 * 1 > 自定义接口IEmployeeService 继承IService接口
 * 2 > 明确指定泛型 当前接口操作对象 Employee
 */
public interface IEmployeeService extends IService<Employee> {

    // 接口也不要忘记 方便维护
    Page<Employee> queryPage(EmployeeQuery qo);
}
